import React,{useContext} from 'react';
import {ColorConst} from './color';
function ShowArea(){
    const {color}=useContext(ColorConst);

    return(
        <div style={{color:color}}>字体的颜色为{color}</div>
    )
}
export default ShowArea;